import request from '@/utils/request'

/**
 * 设置相机初始参数
 */
export function setCameraConfig(data) {
  return request({
    method: 'post',
    url: '/resource/map/config/add',
    data
  })
}

/**
 * 删除相机初始参数
 */
export function removeCameraConfig(userId) {
  return request({
    method: 'delete',
    url: `/resource/map/config/delete?userId=${userId}`
  })
}
